<!DOCTYPE HTML>
<html>
<head>
	<meta charset="utf-8">
	<meta name="renderer" content="webkit|ie-comp|ie-stand">
	<link rel="Bookmark" href="imgs/favicon.ico"/>
	<link rel="Shortcut Icon" href="imgs/favicon.ico"/>
	<link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css"/>
	<link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/H-ui.admin.css"/>
	<link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css"/>
	<link rel="stylesheet" type="text/css" href="static/h-ui.admin/skin/default/skin.css" id="skin"/>
	<link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/style.css"/>
	<title>商城</title>
</head>
<body>
<article class="cl pd-20">
	<form class="form form-horizontal" id="form-member-add">
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">
				<span class="c-red">*</span> 等级名称：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-text" id="title" placeholder="输入等级名称"/>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">
				<span class="c-red">*</span> 充值名称：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-text" id="ver" placeholder="输入充值名称"/>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">
				<!--<span class="c-red">*</span> -->
				充值价格：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="number" class="input-text" id="price" placeholder="输入充值价格" style="width: 100%;"/>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">
				类型：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
				<span class="select-box">
				<select class="select" id="type">
					<option value="1">黄金|铂金|钻石【自动】</option>
					<option value="2">SVIP【手动】</option>
				</select>
				</span>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">
				实际累计消费(元)：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="number" class="input-text" id="cost" placeholder="输入消费" style="width: 100%;"/>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">
				折扣率：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="number" class="input-text" id="discount" placeholder="输入折扣率，如75为七五折" style="width: 100%;"/>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">
				<!--<span class="c-red">*</span> -->
				等级图标：
			</label>
			<div class="formControls col-xs-8 col-sm-9" id="bigOut">
				<div style="padding: 5px 0; width: 100px; background: #0088cc; text-align: center; font-size: 12px; color: #fff; border-radius: 5px; position: relative;">上传图片</div>
				<input type="file" id="bigUpload" style="width: 150px; height: 30px; opacity: 0; cursor: pointer; position: relative; top: -25px; left: -20px;" onchange="uploadImage(1)"/>
				<div id="bigShow" style="margin-top: -20px; width: 200px; height: 200px; background: #eee; overflow: hidden;"></div>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">
				等级描述：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
				<textarea class="textarea"  placeholder="说点什么..." datatype="*10-100" dragonfly="true" nullmsg="备注不能为空！" id="describe"></textarea>
			</div>
		</div>
		<div class="row cl">
			<div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
				<input class="btn btn-primary radius" type="button" value="&nbsp;&nbsp;提 交&nbsp;&nbsp;" onclick="save();"/>
			</div>
		</div>
	</form>
</article>

<!--自定义弹窗-->
<span id="msgPop"></span>
</body>
</html>


<script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="static/h-ui/js/H-ui.js"></script>
<script type="text/javascript" src="static/h-ui.admin/js/H-ui.admin.page.js"></script>
<script type="text/javascript" src="js/config.js"></script>
<script type="text/javascript" src="js/view.js"></script>
<script type="text/javascript" src="js/ulevel.js"></script>
<script type="text/javascript">
	var id = getParamByUrl('id');
	(function () {
		if (id > 0) {
			getOne(id);
		}
	})();
</script>